.slider_wrap {
  position: relative;
  line-height: 0;
  .main_canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .move_canvas {
    position: absolute;
    top: 0;
    left: 0;
  }
}
.goFirst {
  left: 0px !important;
  transition: left 0.5s;
}
.goFirst2 {
  width: 0px !important;
  transition: width 0.7s;
}
.refreshIcon {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background-size: 32px;
}
.tips {
  position: absolute;
  bottom: 0;
  height: 20px;
  line-height: 20px;
  text-align: center;
  width: 100%;
  font-size: 12px;
  z-index: 200;
}
.tips.success {
  background: rgba(255, 255, 255, 0.6);
  color: green;
}
.tips.danger {
  background: rgba(0, 0, 0, 0.6);
  color: yellow;
}
.slider_container {
  margin-top: 20px;
  border: 1px solid #e4e7eb;
  text-align: center;
  overflow: hidden;
  user-select: none;

  .text {
    width: 100%;
    height: 100%;
    line-height: 100%;
    display: flex;
    align-items: center;
    user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    justify-content: center;
    background: -webkit-gradient(
      linear,
      left top,
      right top,
      color-stop(0, var(--textColor)),
      color-stop(0.4, var(--textColor)),
      color-stop(0.5, #fff),
      color-stop(0.6, var(--textColor)),
      color-stop(1, var(--textColor))
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slidetounlock 3s infinite;
  }
  .wrap {
    background: rgb(238, 238, 238);
    height: 100%;
    width: 100%;
  }
  .progress_bar {
    position: absolute;
    height: 100%;
    width: 0;
    top: 0;
    line-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }
}
.slider_bar {
  position: absolute;
  top: 0px;
  left: 0px;
  cursor: grab;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
// slider_bar slider_bar_bg
@keyframes slidetounlock {
  0% {
    background-position: var(--pwidth) 0;
  }
  100% {
    background-position: var(--width) 0;
  }
}
